<!DOCTYPE html>
<html lang="zh_Hans">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 4.2.0">
  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">
  <meta name="baidu-site-verification" content="cpmFX379Hw.chiangyung.github.io">

<link rel="stylesheet" href="/css/main.css">


<link rel="stylesheet" href="/lib/font-awesome/css/all.min.css">
  <link rel="stylesheet" href="/lib/pace/pace-theme-minimal.min.css">
  <script src="/lib/pace/pace.min.js"></script>

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"chiangyung.github.io","root":"/","scheme":"Gemini","version":"7.8.0","exturl":false,"sidebar":{"position":"left","Pisces | Gemini":240,"width":240,"display":"always","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"default"},"back2top":{"enable":true,"sidebar":true,"scrollpercent":true},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"};
  </script>

  <meta name="description" content="本文总结了《OpenFOAM用户指南》中的一些知识点，主要对应该文档中的第三章。">
<meta property="og:type" content="article">
<meta property="og:title" content="《OpenFOAM用户指南》阅读总结（二）">
<meta property="og:url" content="https://chiangyung.github.io/posts/57180/index.html">
<meta property="og:site_name" content="姜勇的博客">
<meta property="og:description" content="本文总结了《OpenFOAM用户指南》中的一些知识点，主要对应该文档中的第三章。">
<meta property="article:published_time" content="2020-06-14T13:08:00.000Z">
<meta property="article:modified_time" content="2020-06-15T01:03:47.373Z">
<meta property="article:author" content="ChiangYung">
<meta property="article:tag" content="Note">
<meta property="article:tag" content="CFD">
<meta property="article:tag" content="OpenFOAM">
<meta name="twitter:card" content="summary">

<link rel="canonical" href="https://chiangyung.github.io/posts/57180/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : false,
    isPost : true,
    lang   : 'zh_Hans'
  };
</script>

  <title>《OpenFOAM用户指南》阅读总结（二） | 姜勇的博客</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

<link rel="alternate" href="/atom.xml" title="姜勇的博客" type="application/atom+xml">
</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">姜勇的博客</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
        <i class="fa fa-search fa-fw fa-lg"></i>
    </div>
  </div>
</div>




<nav class="site-nav">
  <ul id="menu" class="main-menu menu">
        <li class="menu-item menu-item-home">

    <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a>

  </li>
        <li class="menu-item menu-item-about">

    <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a>

  </li>
        <li class="menu-item menu-item-tags">

    <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签<span class="badge">26</span></a>

  </li>
        <li class="menu-item menu-item-categories">

    <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类<span class="badge">3</span></a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档<span class="badge">41</span></a>

  </li>
        <li class="menu-item menu-item-合集">

    <a href="/collections/" rel="section"><i class="fa fa-folder fa-fw"></i>合集</a>

  </li>
        <li class="menu-item menu-item-课程">

    <a href="/course/" rel="section"><i class="fa fa-graduation-cap fa-fw"></i>课程</a>

  </li>
        <li class="menu-item menu-item-读书">

    <a href="/books/" rel="section"><i class="fa fa-book fa-fw"></i>读书</a>

  </li>
        <li class="menu-item menu-item-旅行">

    <a href="/travels/" rel="section"><i class="fa fa-train fa-fw"></i>旅行</a>

  </li>
        <li class="menu-item menu-item-观影">

    <a href="/videos/" rel="section"><i class="fa fa-tv fa-fw"></i>观影</a>

  </li>
      <li class="menu-item menu-item-search">
        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
        </a>
      </li>
  </ul>
</nav>



  <div class="search-pop-overlay">
    <div class="popup search-popup">
        <div class="search-header">
  <span class="search-icon">
    <i class="fa fa-search"></i>
  </span>
  <div class="search-input-container">
    <input autocomplete="off" autocapitalize="off"
           placeholder="搜索..." spellcheck="false"
           type="search" class="search-input">
  </div>
  <span class="popup-btn-close">
    <i class="fa fa-times-circle"></i>
  </span>
</div>
<div id="search-result">
  <div id="no-result">
    <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>
  </div>
</div>

    </div>
  </div>

</div>
    </header>

    
  <div class="reading-progress-bar"></div>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content post posts-expand">
            

    
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh_Hans">
    <link itemprop="mainEntityOfPage" href="https://chiangyung.github.io/posts/57180/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/upload/E8.png">
      <meta itemprop="name" content="ChiangYung">
      <meta itemprop="description" content="我于蒙昧之中，探寻宇宙万物。">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="姜勇的博客">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          《OpenFOAM用户指南》阅读总结（二）
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>

              <time title="创建时间：2020-06-14 21:08:00" itemprop="dateCreated datePublished" datetime="2020-06-14T21:08:00+08:00">2020-06-14</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="far fa-calendar-check"></i>
                </span>
                <span class="post-meta-item-text">更新于</span>
                <time title="修改时间：2020-06-15 09:03:47" itemprop="dateModified" datetime="2020-06-15T09:03:47+08:00">2020-06-15</time>
              </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">分类于</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/CFD/" itemprop="url" rel="index"><span itemprop="name">CFD</span></a>
                </span>
            </span>

          <br>
            <span class="post-meta-item" title="本文字数">
              <span class="post-meta-item-icon">
                <i class="far fa-file-word"></i>
              </span>
                <span class="post-meta-item-text">本文字数：</span>
              <span>5.2k</span>
            </span>
            <span class="post-meta-item" title="阅读时长">
              <span class="post-meta-item-icon">
                <i class="far fa-clock"></i>
              </span>
                <span class="post-meta-item-text">阅读时长 &asymp;</span>
              <span>5 分钟</span>
            </span>
            <div class="post-description">本文总结了《OpenFOAM用户指南》中的一些知识点，主要对应该文档中的第三章。</div>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <ol>
<li><p>偏微分方程会包含如下信息：标量、矢量、张量、张量运算、量纲分析等。这些方程的求解涉及到离散、矩阵运算、求解器以及求解算法。</p>
</li>
<li><p>速度场U可以说是vectorField类的一个对象，这就是面向对象编程。</p>
</li>
<li><p>方程：</p>
</li>
</ol>
<p>$$<br>    \frac{\partial{\rho \vec{U}}}{\partial{t}}<br>    + \nabla \cdot \phi \vec{U}<br>    - \nabla \cdot \mu \nabla \vec{U}<br>    = -\nabla p<br>$$<br>   在OpenFOAM中使用如下代码表示：</p>
   <figure class="highlight c++"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line">solver</span><br><span class="line">(</span><br><span class="line">  fvm::ddt(rho, U)</span><br><span class="line">  + fvm::div(phi, U)</span><br><span class="line">  - fvm::laplacian(mu, U)</span><br><span class="line">  ==</span><br><span class="line">  -fvc::grad(p)</span><br><span class="line">)</span><br></pre></td></tr></table></figure>

<ol>
<li><p>在OpenFOAM中，wmake可以用于执行以下所列功能中的维护依赖文件列表的任务，并可用于编译源程序：</p>
<ul>
<li>依赖文件列表的自动生成和变更。依赖文件列表就是那些包含在程序中的文件名的列表，程序依靠这些文件的组合来被编译；</li>
<li>通过合适的目录结构，多平台编译和链接；</li>
<li>多语言编辑和链接，例如C，C++，JAVA；</li>
<li>多种编译和链接选项，例如调试、最优化、并行以及性能分析；</li>
<li>支持源代码分析程序，例如lex、yacc、IDL以及MOC；</li>
<li>简单的源文件列表语法规则；</li>
<li>源文件列表自动生成；</li>
<li>静态库或共享库的简单处理；</li>
<li>新平台的可扩展性和兼容性；</li>
<li>便携性，可以在有make、sh、ksh或者csh、lex、cc的系统上应用；</li>
</ul>
</li>
<li><p>调试开关在<code>$WM_PROJECT_DIR/etc/controlDict</code>文件中设置；如果用户想改变默认设置，他们最好把它备份到<code>$HOME</code>文件下，例如备份到这个位置：<code>$HOME/.OpenFOAM/5.0/controlDict</code>。默认的调试开关非常多，我们可以通过foamDebugSwitches来查看。大多数开关和类以及可执行程序相对应。它们可以通过在controlDict中设置为1来打开。</p>
</li>
<li><p>比较重要的是fileModificationSkew选项。fileModificationSkew关键词是文件更新系统的最大等待时间，其以秒为单位，它用来判断文件是否是刚刚修改的。</p>
</li>
<li><p>添加新的库：</p>
<figure class="highlight c++"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">libs</span><br><span class="line">(</span><br><span class="line">    <span class="string">"libnew1.so"</span></span><br><span class="line">    <span class="string">"libnew2.so"</span></span><br><span class="line">)</span><br></pre></td></tr></table></figure>
</li>
<li><p>并行划分的四种方法：</p>
<ul>
<li>simple：简单的几何分解。计算域依据方向被切分，例如x方向两块，y方向一块；</li>
<li>hierarchical：顺序几何分解法和简单分解法差不多，只不过用户指定首先切分哪个方向，例如首先切分x方向，然后切分y方向；</li>
<li>scotch：scotch分解方法不需要用户输入指定参数，并且力求使分割后的每一块的网格边界面最小化。针对不同的计算机处理器，用户可以针对其计算机资源而为每个计算机分配不同的权重，这可以通过processorweights关键词来指定。另外一个可选关键词是strategy，它可以对scotch分解法做出一些限定。更多信息请参考<code>$FOAM_SRC/decompositionMethods/decompositionMethods/scotchDecomp/scotchDecomp.C</code>；</li>
<li>manual：手动分解法，用户可以直接把某一片网格区域指定给处理器；对于每个method，我们都需要指定一些参数，我们可以在decomposeParDict字典中的<code>&lt;method&gt;-Coeffs</code>来指定。</li>
</ul>
</li>
<li><p>在最新的OpenFOAM中引入了collated文件格式，在这个格式中，分解的场以及网格被存储在主处理器可以读取和写入的单一文件。这些文件位于一个文件夹下，其名称为processors。</p>
</li>
<li><p>并行执行方式：<code>mpirun --hostfile &lt;machines&gt; -np &lt;nProcs&gt; &lt;foamExec&gt; &lt;otherArgs&gt; -parallel &gt; log &amp;</code></p>
</li>
<li><p>OpenFOAM中的求解器分类：</p>
<ul>
<li>基本求解器<ul>
<li>laplacianFoam：拉普拉斯方程求解器，例如固体中的导热问题</li>
<li>potentialFoam：速度势求解器，可通过求解的通量重组速度场</li>
<li>scalarTransportFoam：瞬态或稳态被动标量传输方程求解器</li>
</ul>
</li>
<li>不可压缩求解器<ul>
<li>adjointShapeOptimizationFoam：不可压缩非牛顿流体依据压力损失进行几何优化的求解器（参见：Implementation of a continuous adjoint for topology optimization of ducted flows）</li>
<li>boundaryFoam：稳态不可压缩一维湍流求解器，主要用于为进口生成边界层条件</li>
<li>icoFoam：牛顿流体瞬态不可压缩求解器</li>
<li>nonNewtonianIcoFoam：非牛顿流体瞬态不可压缩求解器</li>
<li>pimpleFoam：采用PIMPLE算法的大时间步瞬态不可压缩流求解器</li>
<li>pimpleDyMFoam：支持动网格的pimpleFoam</li>
<li>SRFPimpleFoam：支持单旋转参考系的pimpleFoam</li>
<li>pisoFoam：采用PISO算法的瞬态不可压缩流求解器</li>
<li>shallowWaterFoam：瞬态无粘有旋浅水方程求解器</li>
<li>simpleFoam：稳态不可压缩湍流求解器</li>
<li>porousSimpleFoam：支持MRF以及多孔介质的simpleFoam</li>
<li>SRFSimpleFoam：支持单旋转参考系的simpleFoam</li>
</ul>
</li>
<li>可压缩求解器<ul>
<li>rhoCentralDyMFoam：基于Kurganov&amp;Tadmor中心迎风格式的密度基可压缩湍流求解器，可使用动网格</li>
<li>rhoCentralFoam：基于Kurganov&amp;Tadmor中心迎风格式的密度基可压缩湍流求解器</li>
<li>rhoPimpleFoam：基于PIMPLE算法的可压缩流求解器（暖通类应用）</li>
<li>rhoPimpleDyMFoam：支持动网格的rhoPimpleFoam</li>
<li>rhoSimpleFoam：基于SIMPLE的附带RANS湍流模型的稳态可压缩求解器</li>
<li>rhoPorousSimpleFoam：附带多孔介质模型的rhoSimpleFoam</li>
<li>sonicFoam：瞬态超声速可压气体求解器</li>
<li>sonicDyMFoam：支持动网格的sonicFoam</li>
<li>sonicLiquidFoam：瞬态超声速可压液体求解器</li>
</ul>
</li>
<li>多相流求解器<ul>
<li>cavitatingFoam：基于均相平衡模型（用于计算液体/蒸汽的混合可压性）的气蚀求解器</li>
<li>cavitatingDyMFoam：基于动网格的cavitatingFoam</li>
<li>compressibleInterFoam：基于VOF模型的可压、绝热、不可溶两相界面捕获求解器</li>
<li>compressibleInterDyMFoam：基于动网格的compressibleInterFoam</li>
<li>compressibleMultiphaseInterFoam：基于VOF模型的可压、绝热、不可溶可压多相界面捕获求解器，支持MRF</li>
<li>driftFluxFoam：模拟沉降以及类似分离现象的不可压缩两相求解器</li>
<li>interFoam：基于VOF模型的不可压、绝热、不可溶两相界面捕获求解器，支持LTS，MRF</li>
<li>interDyMFoam：支持动网格的interFoam</li>
<li>interMixingFoam：三相不可压缩流体，其中两相互溶，基于VOF模型的界面捕获求解器</li>
<li>interPhaseChangeFoam：基于VOF模型的不可压、绝热、不可溶、存在相变的两相界面捕获求解器</li>
<li>interPhaseChangeDyMFoam：基于VOF模型的不可压、绝热、不可溶、存在相变的两相界面捕获求解器，可使用动网格</li>
<li>multiphaseInterFoam：基于VOF模型的可压、绝热、不可溶不可压多相界面捕获求解器，支持MRF</li>
<li>multiphaseInterDyMFoam：支持动网格的multiphaseInterFoam</li>
<li>potentialFreeSurfaceFoam：包含波高（zeta）的不可压缩NS方程求解器，可用于在单相下模拟自由表面的波高</li>
<li>potentialFreeSurfaceDyMFoam：支持动网格的potentialFreeSurfaceFoam</li>
<li>reactingMultiphaseEulerFoam：单压力可（不可）压不可溶多相求解器。附加传热以及传质。</li>
<li>reactingTwoPhaseEulerFoam：单压力可（不可）压不可溶两相求解器。附加传热以及传质。</li>
<li>twoLiquidMixingFoam：不可压缩可溶两相混合求解器</li>
<li>twoPhaseEulerFoam：单压力可压两相不可溶多相求解器。附加传热。</li>
</ul>
</li>
<li>直接模拟求解器<ul>
<li>dnsFoam：计算域为立方体的各向同性湍流直接模拟求解器</li>
</ul>
</li>
<li>燃烧求解器<ul>
<li>chemFoam：单网格化学反应求解器，主要用于和其他软件的求解结果相对比。网格和场从初始条件即时生成</li>
<li>coldEngineFoam：冷态内燃机求解器</li>
<li>engineFoam：内燃机求解器</li>
<li>fireFoam：瞬态火灾或湍流扩散火焰求解器</li>
<li>PDRFoam：附带湍流的可压预混燃烧求解器</li>
<li>reactingFoam：附带化学反应的燃烧求解器，支持LTS</li>
<li>rhoReactingBuoyantFoam：密度基于热力学模型、浮力强化模型的燃烧求解器，附带化学反应模型</li>
<li>rhoReactingFoam：密度基于热力学模型附带化学反应的燃烧求解器</li>
<li>xiFoam：附带湍流模型的可压预混/部分预混燃烧求解器</li>
</ul>
</li>
<li>传热求解器<ul>
<li>buoyantBoussinesqPimpleFoam：附加boussinesq假定的湍流的瞬态不可压浮力驱动求解器（暖通和传热）</li>
<li>buoyantBoussinesqSimpleFoam：附加boussinesq假定的湍流的稳态不可压浮力驱动求解器（暖通和传热）</li>
<li>buoyantPimpleFoam：附加湍流的瞬态可压浮力驱动求解器（暖通和传热）</li>
<li>buoyantSimpleFoam：附加湍流的稳态可压浮力驱动求解器（暖通和传热）</li>
<li>chtMultiRegionFoam：附加湍流的瞬态固体-流体多域传热求解器</li>
<li>chtMultiRegionSimpleFoam：chtMultiRegionFoam稳态版本</li>
<li>thermoFoam：流场固定，单一求解能量方程的求解器</li>
</ul>
</li>
<li>颗粒跟踪求解器<ul>
<li>coalChemistryFoam：伴随煤粉和石灰岩粒子注射、能量源和燃烧的可压缩湍流瞬态求解器</li>
<li>DPMFoam：考虑颗粒体积分数对连续相作用的单颗粒团耦合输运瞬态求解器</li>
<li>DPMDyMFoam：DPMFoam：动网格版本</li>
<li>MPPICFoam：单颗粒团耦合连续相方程的瞬态求解器，颗粒团通过MPPIC方法计算，连续相方程考虑颗粒团的相分数，颗粒作用并未被考虑</li>
<li>MPPICDyMFoam：MPPICFoam：动网格版本</li>
<li>icoUncoupledKinematicParcelFoam：单颗粒团被动输运瞬态求解器</li>
<li>icoUncoupledKinematicParcelDyMFoam：icoUncoupledKinematicParcelFoam动网格版本</li>
<li>reactingParcelFilmFoam：基于PIMPLE的瞬态求解器，附带化学反应的拉格朗日粒子和表面膜模型</li>
<li>reactingParcelFoam：基于PIMPLE的瞬态求解器，附带化学反应的多相拉格朗日粒子，包含运行时选择的fvOptions，例如：源项，约束条件</li>
<li>simpleReactingParcelFoam：reactingParcelFoam稳态版本</li>
<li>sprayFoam：基于PIMPLE的瞬态可压缩喷雾求解器</li>
<li>sprayDyMFoam：sprayFoam：动网格版本</li>
<li>sprayEngineFoam：可压缩瞬态喷雾引擎求解器</li>
<li>uncoupledKinematicParcelFoam：单颗粒团被动输运瞬态求解器</li>
<li>uncoupledKinematicParcelDyMFoam：uncoupledKinematicParcelFoam动网格版本</li>
</ul>
</li>
<li>分子动力学模拟<ul>
<li>mdEquilibrationFoam：分子动力系统平衡或预处理求解器</li>
<li>mdFoam：用于流体动力学的分子动力学求解器</li>
<li>dsmcFoam：顺态多组分流动DSMC求解器</li>
</ul>
</li>
<li>电磁求解器<ul>
<li>electrostaticFoam：静电场求解器</li>
<li>magneticFoam：永磁场的磁场求解器</li>
<li>mhdFoam：不可压缩，层流，磁力驱动MHD求解器</li>
</ul>
</li>
<li>应力分析求解器<ul>
<li>solidDisplacementFoam：刚体微小线弹性应变的有限体积瞬态分离式求解器，可选热扩散和热应力</li>
<li>solidEquilibriumDisplacementFoam：刚体微小线弹性应变的有限体积稳态分离式求解器，可选热扩散和热应力</li>
</ul>
</li>
<li>金融分析求解器<ul>
<li>financialFoam：期权定价Black-Scholes方程求解器</li>
</ul>
</li>
</ul>
</li>
</ol>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/kity@2.0.4/dist/kity.min.js"></script><script type="text/javascript" src="https://cdn.jsdelivr.net/npm/kityminder-core@1.4.50/dist/kityminder.core.min.js"></script><script defer="true" type="text/javascript" src="https://cdn.jsdelivr.net/npm/hexo-simple-mindmap@0.2.0/dist/mindmap.min.js"></script><link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/hexo-simple-mindmap@0.2.0/dist/mindmap.min.css">
    </div>

    
    
    
      
  <div class="popular-posts-header">相关文章</div>
  <ul class="popular-posts">
    <li class="popular-posts-item">
      <div class="popular-posts-title"><a href="/posts/20262/" rel="bookmark">《OpenFOAM用户指南》阅读总结（一）</a></div>
    </li>
    <li class="popular-posts-item">
      <div class="popular-posts-title"><a href="/posts/25908/" rel="bookmark">在Intel Xeon Phi上编译OpenFOAM</a></div>
    </li>
    <li class="popular-posts-item">
      <div class="popular-posts-title"><a href="/posts/44653/" rel="bookmark">《基地》宇宙银河系年表：银河帝国兴亡史</a></div>
    </li>
    <li class="popular-posts-item">
      <div class="popular-posts-title"><a href="/posts/30763/" rel="bookmark">《国王的演讲》观影笔记</a></div>
    </li>
    <li class="popular-posts-item">
      <div class="popular-posts-title"><a href="/posts/41241/" rel="bookmark">《第一推动丛书 · 物理系列 · 宇宙的琴弦》读书笔记</a></div>
    </li>
  </ul>

        

<div>
<ul class="post-copyright">
  <li class="post-copyright-author">
    <strong>本文作者： </strong>ChiangYung
  </li>
  <li class="post-copyright-link">
    <strong>本文链接：</strong>
    <a href="https://chiangyung.github.io/posts/57180/" title="《OpenFOAM用户指南》阅读总结（二）">https://chiangyung.github.io/posts/57180/</a>
  </li>
  <li class="post-copyright-license">
    <strong>版权声明： </strong>本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" rel="noopener" target="_blank"><i class="fab fa-fw fa-creative-commons"></i>BY-NC-SA</a> 许可协议。转载请注明出处！
  </li>
</ul>
</div>


      <footer class="post-footer">
          
          <div class="post-tags">
              <a href="/tags/Note/" rel="tag"><i class="fa fa-tag"></i> Note</a>
              <a href="/tags/CFD/" rel="tag"><i class="fa fa-tag"></i> CFD</a>
              <a href="/tags/OpenFOAM/" rel="tag"><i class="fa fa-tag"></i> OpenFOAM</a>
          </div>

        


        
    <div class="post-nav">
      <div class="post-nav-item">
    <a href="/posts/20262/" rel="prev" title="《OpenFOAM用户指南》阅读总结（一）">
      <i class="fa fa-chevron-left"></i> 《OpenFOAM用户指南》阅读总结（一）
    </a></div>
      <div class="post-nav-item">
    <a href="/posts/45917/" rel="next" title="《Python程序设计》阅读总结（一）">
      《Python程序设计》阅读总结（一） <i class="fa fa-chevron-right"></i>
    </a></div>
    </div>
      </footer>
    
  </article>
  
  
  



          </div>
          

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image" alt="ChiangYung"
      src="/upload/E8.png">
  <p class="site-author-name" itemprop="name">ChiangYung</p>
  <div class="site-description" itemprop="description">我于蒙昧之中，探寻宇宙万物。</div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/archives/">
        
          <span class="site-state-item-count">41</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
            <a href="/categories/">
          
        <span class="site-state-item-count">3</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
            <a href="/tags/">
          
        <span class="site-state-item-count">26</span>
        <span class="site-state-item-name">标签</span></a>
      </div>
  </nav>
</div>
  <div class="links-of-author motion-element">
      <span class="links-of-author-item">
        <a href="https://github.com/chiangyung" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;chiangyung" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i></a>
      </span>
      <span class="links-of-author-item">
        <a href="mailto:chiangyoung@outlook.com" title="E-Mail → mailto:chiangyoung@outlook.com" rel="noopener" target="_blank"><i class="fa fa-envelope fa-fw"></i></a>
      </span>
  </div>
  <div class="cc-license motion-element" itemprop="license">
    <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" class="cc-opacity" rel="noopener" target="_blank"><img src="/images/cc-by-nc-sa.svg" alt="Creative Commons"></a>
  </div>


  <div class="links-of-blogroll motion-element">
    <div class="links-of-blogroll-title"><i class="fa fa-link fa-fw"></i>
      友情链接
    </div>
    <ul class="links-of-blogroll-list">
        <li class="links-of-blogroll-item">
          <a href="http://openfoamwiki.net/index.php/Main_Page" title="http:&#x2F;&#x2F;openfoamwiki.net&#x2F;index.php&#x2F;Main_Page" rel="noopener" target="_blank">OpenFOAMWiki</a>
        </li>
    </ul>
  </div>

      </div>
        <div class="back-to-top motion-element">
          <i class="fa fa-arrow-up"></i>
          <span>0%</span>
        </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2020</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">ChiangYung</span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-chart-area"></i>
    </span>
    <span title="站点总字数">207k</span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-coffee"></i>
    </span>
    <span title="站点阅读时长">3:08</span>
</div>


  <script src='https://unpkg.com/mermaid@7.1.2/dist/mermaid.min.js'></script>
    <script>
    if (window.mermaid) {
      mermaid.initialize({theme: 'forest'});
    }
  </script>


        








      </div>
    </footer>
  </div>

  
  <script src="/lib/anime.min.js"></script>
  <script src="/lib/velocity/velocity.min.js"></script>
  <script src="/lib/velocity/velocity.ui.min.js"></script>

<script src="/js/utils.js"></script>

<script src="/js/motion.js"></script>

<script src="/js/kity.min.js"></script>

<script src="/js/kityminder.core.min.js"></script>

<script src="/js/mindmap.js"></script>

<script src="/js/mindmap.min.js"></script>


<script src="/js/schemes/pisces.js"></script>


<script src="/js/next-boot.js"></script>




  
  <script>
    (function(){
      var bp = document.createElement('script');
      var curProtocol = window.location.protocol.split(':')[0];
      bp.src = (curProtocol === 'https') ? 'https://zz.bdstatic.com/linksubmit/push.js' : 'http://push.zhanzhang.baidu.com/push.js';
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(bp, s);
    })();
  </script>




  
<script src="/js/local-search.js"></script>











<script>
if (document.querySelectorAll('pre.mermaid').length) {
  NexT.utils.getScript('//cdn.jsdelivr.net/npm/mermaid@8/dist/mermaid.min.js', () => {
    mermaid.initialize({
      theme    : 'forest',
      logLevel : 3,
      flowchart: { curve     : 'linear' },
      gantt    : { axisFormat: '%m/%d/%Y' },
      sequence : { actorMargin: 50 }
    });
  }, window.mermaid);
}
</script>


  

  
      

<script>
  if (typeof MathJax === 'undefined') {
    window.MathJax = {
      loader: {
        source: {
          '[tex]/amsCd': '[tex]/amscd',
          '[tex]/AMScd': '[tex]/amscd'
        }
      },
      tex: {
        inlineMath: {'[+]': [['$', '$']]},
        tags: 'ams'
      },
      options: {
        renderActions: {
          findScript: [10, doc => {
            document.querySelectorAll('script[type^="math/tex"]').forEach(node => {
              const display = !!node.type.match(/; *mode=display/);
              const math = new doc.options.MathItem(node.textContent, doc.inputJax[0], display);
              const text = document.createTextNode('');
              node.parentNode.replaceChild(text, node);
              math.start = {node: text, delim: '', n: 0};
              math.end = {node: text, delim: '', n: 0};
              doc.math.push(math);
            });
          }, '', false],
          insertedScript: [200, () => {
            document.querySelectorAll('mjx-container').forEach(node => {
              let target = node.parentNode;
              if (target.nodeName.toLowerCase() === 'li') {
                target.parentNode.classList.add('has-jax');
              }
            });
          }, '', false]
        }
      }
    };
    (function () {
      var script = document.createElement('script');
      script.src = '//cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js';
      script.defer = true;
      document.head.appendChild(script);
    })();
  } else {
    MathJax.startup.document.state(0);
    MathJax.texReset();
    MathJax.typeset();
  }
</script>

    

  

</body>
</html>
